We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
15-Oct-2010Uttam Misra
15-Oct-2010Use this code for Session_Start event in global.asax file:
void Session_Start(object sender, EventArgs e) { if (User.Identity.IsAuthenticated) { System.Web.Security.FormsAuthentication.SignOut(); System.Web.Security.FormsAuthentication.RedirectToLoginPage(); } }